package com.mactivity.helper;

/**
 * 
 * @author Shwetha Narayan
 *
 */
public class Constants {
	
	//Constants used in Login
	public static final String MACTIVITY = "Mactivity";
	public static final String DATABASE_URL = "http://omega.uta.edu/~hbs1966/db_files/";
	
	//Shared Preference constants
	public static final String USER_EMAIL_ID = "emailId";
	public static final String IS_LOGGED_IN = "loggedIn";
	public static final String USER_ID = "userId";
	public static final String USER_NAME = "userName";

	//Logger constants
	public static final String LOG_DATABASE_TAG = "MACtivity:Database";
	public static final String LOG_LOGIN_TAG = "MACtivity:Login";
	public static final String LOGGER_REGISTRATION_TAG = "MACtivity:Registration";
	public static final String LOGGER_ERROR_TAG = "MACtivity:Error";
	public static final String LOG_PLAN_TAG = "MACtivity:PlanActivity";
	public static final String LOG_FORGOT_PASSWORD_TAG = "MACtivity:ForgotPassword";
	public static final String LOG_PROFILE_TAG = "MACtivity:Profile";
	
	// time in hour format
	public static final String SIXAM = "6am";
	public static final String SEVENAM = "7am";
	public static final String EIGHTAM = "8am";
	public static final String NINEAM = "9am";
	public static final String TENAM = "10am";
	public static final String ELEVENAM="11am";
	public static final String TWELVEPM="12pm";
	public static final String ONEPM = "1pm";
	public static final String TWOPM = "2pm";
	public static final String THREEPM = "3pm";
	public static final String FOURPM = "4pm";
	public static final String FIVEPM = "5pm";
	public static final String SIXPM = "6pm";
	public static final String SEVENPM = "7pm";
	public static final String EIGHTPM = "8pm";
	public static final String NINEPM = "9pm";
	public static final String TENPM = "10pm";
	public static final String ELEVENPM="11pm";
	
	// constant use in plan
	public static final int OPEN_HOUR= 6;
	

	//Database Table Constants
	
	//User Table
	public static final String COLUMN_USER_ID = "id";
	public static final String COLUMN_USER_NAME = "fullname";
	public static final String COLUMN_USER_EMAIL = "email";
	public static final String COLUMN_PASSWORD = "password";
	
	// Friends table
	public static final String COLUMN_FRIEND_TABLE_USER_ID = "UserId";
	public static final String COLUMN_FRIEND_TABLE_FRIEND_ID = "FriendId";
	
	//Notification Table
	public static final String COLUMN_NOTIFICATION_NOTEID = "NoteId";
	public static final String COLUMN_NOTIFICATION_NOTEFROM = "NoteFrom";
	public static final String COLUMN_NOTIFICATION_NOTETO = "NoteTo";
	public static final String COLUMN_NOTIFICATION_NOTETYPE = "NoteType";
	public static final String COLUMN_NOTIFICATION_TYPESTATUS = "TypeStatus";
	public static final String COLUMN_NOTIFICATION_GROUPPLANID = "GroupPlanId";
	
	
	//Group Plan Table
	public static final String COLUMN_GROUPPLAN_GROUPPLANID = "GroupPlanId";
	public static final String COLUMN_GROUPPLAN_SPORT = "Sport";
	public static final String COLUMN_GROUPPLAN_DATE = "Date";
	public static final String COLUMN_GROUPPLAN_TIME = "Time";
	public static final String COLUMN_GROUPPLAN_GROUPPLANOWNER = "GroupPlanOwner";
	
	//Extras
	public static final String CONSTANT_EXTRAS_USERID = "UserId";
	public static final String CONSTANT_EXTRAS_TOID = "ToId";
	public static final String CONSTANT_EXTRAS_FROMID = "FromId";
	public static final String CONSTANT_EXTRAS_MYID = "myid";
	public static final String CONSTANT_EXTRAS_FRIENDID = "frid";
	public static final String CONSTANT_EXTRAS_GROUPPLANID = "GroupPlanId";
	public static final String CONSTANT_EXTRAS_CLASH_DATE = "date";
	public static final String CONSTANT_EXTRAS_CLASH_TIME = "time";
	public static final String CONSTANT_EXTRAS_CLASH_USERID = "userID";
	public static final String CONSTANT_EXTRAS_FRIENDEMAILID = "EmailId";
	public static final String CONSTANT_EXTRAS_FRIENDNAME = "friendName";
	
	
	//JSON string
	public static final String JSON_STRING_NAME = "Name";
	public static final String JSON_STRING_EMAIL = "Email";
	public static final String JSON_STRING_SPORT = "Sport";
	public static final String JSON_STRING_DATE = "Date";
	public static final String JSON_STRING_DAY = "Day";
	public static final String JSON_STRING_TIME = "Time";
	public static final String JSON_STRING_NOTEID = "NoteId";
	public static final String JSON_STRING_NOTEFROM = "NoteFrom";
	public static final String JSON_STRING_NOTETO = "NoteTo";
	public static final String JSON_STRING_NOTETYPE = "NoteType";
	public static final String JSON_STRING_TYPESTATUS = "TypeStatus";

}
